//
//  ViewController.m
//  轮播图
//
//  Created by zhouLiHuan on 2017/2/13.
//  Copyright © 2017年 zhouLiHuan. All rights reserved.
//

#import "ViewController.h"
#import "LHCarouselView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSArray * array = @[@"banner_tp01@2x.png",@"banner_tp02@2x.png",@"banner_tp03@2x.png",@"banner_tp04@2x.png"];
    LHCarouselView *carouselVoiew = [[LHCarouselView alloc] initWithFrame:CGRectMake(0, 100, self.view.frame.size.width, 300) andImageNameArray:array];
 
    [self.view addSubview:carouselVoiew];
    // Do any additional setup after
    // Do any additional setup after loading the view, typically from a nib.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
